<template>
  <div id="app">
    <router-view></router-view>

    <!-- 路由占位符 -->

    <audio ref="audio" autoplay>
      <source src="../src/assets/bgm.mp3" type="audio/mpeg" />
    </audio>
  </div>
</template>

<script>
export default {
  name: "app",

  mounted() {
    this.$refs.audio.volume = 0.5;
  },
};
</script>

<style>
</style>
